package com.xinyan.config;

import com.xinyan.plc.HandAutoParam;
import com.xinyan.plc.HandModeStartAndStop;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class PLCParamConfig {

    @Bean
    public HandModeStartAndStop handModeStartAndStop(){
        return new HandModeStartAndStop();
    }

    @Bean
    public HandAutoParam handAutoParam(){
        return  new HandAutoParam(1);
    }
}
